package com.global.college.base;

import android.content.Context;

import com.global.college.api.AlipayRequestClient;
import com.global.college.api.AuthRequestClient;
import com.global.college.api.RequestClient;


public class BasePresenter {
    protected final String TAG = this.getClass().getName();

    protected Context mContext;
    protected AuthRequestClient mAuthRequestClient;//子类可以直接应用
    protected AlipayRequestClient mAlipayRequestClient;//子类可以直接应用
    protected RequestClient mRequestClient;//子类可以直接应用

    public BasePresenter(Context context) {
        mContext = context;
        mAuthRequestClient = AuthRequestClient.getInstance();//生成了单例
        mRequestClient = RequestClient.getInstance();
        mAlipayRequestClient = AlipayRequestClient.getInstance();
    }
}
